// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from "axios";
import ElementUI from "element-ui";
import * as echarts from "echarts";
import drag from "v-drag";
import "element-ui/lib/theme-chalk/index.css";

Vue.prototype.$axios = axios;
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
Vue.use(drag);
Vue.config.productionTip = false;

new Vue({
  router,
  axios,
  echarts,
  render: function(h) {
    return h(App);
  }
}).$mount("#app");
